<div class="editor" contenteditable #editor (change)="update(editor.innerHTML)">

</div>
<button type="button" class="btn btn-primary" (click)="update(editor.innerHTML)">测试</button>
<div [innerText]="html">
</div>
